package com.ruoyi.ss.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小程序用户对象 ss_user
 * 
 * @author ruoyi
 * @date 2025-08-04
 */
public class SsUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 小程序用户ID */
    private Long userId;

    /** 小程序ID */
    @Excel(name = "小程序ID")
    private String openId;

    /** 小程序unionId */
    @Excel(name = "小程序unionId")
    private String unionId;

    /** 小程序昵称 */
    @Excel(name = "小程序昵称")
    private String openNick;

    /** 微信头像 */
    @Excel(name = "微信头像")
    private String openAvatarUrl;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机 */
    @Excel(name = "手机")
    private String mobile;

    /** 身份证 */
    @Excel(name = "身份证")
    private String peopleCard;

    /** 性别 */
    @Excel(name = "性别")
    private Long peopleSex;

    /** 出生年月 */
    @Excel(name = "出生年月")
    private String peopleBirth;

    /** 住址 */
    @Excel(name = "住址")
    private String peopleAddress;

    /** 等级（三方系统） */
    @Excel(name = "等级", readConverterExp = "三=方系统")
    private String level;

    /** 积分（三方系统） */
    @Excel(name = "积分", readConverterExp = "三=方系统")
    private String points;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Long status;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setUnionId(String unionId) 
    {
        this.unionId = unionId;
    }

    public String getUnionId() 
    {
        return unionId;
    }
    public void setOpenNick(String openNick) 
    {
        this.openNick = openNick;
    }

    public String getOpenNick() 
    {
        return openNick;
    }
    public void setOpenAvatarUrl(String openAvatarUrl) 
    {
        this.openAvatarUrl = openAvatarUrl;
    }

    public String getOpenAvatarUrl() 
    {
        return openAvatarUrl;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setPeopleCard(String peopleCard) 
    {
        this.peopleCard = peopleCard;
    }

    public String getPeopleCard() 
    {
        return peopleCard;
    }
    public void setPeopleSex(Long peopleSex) 
    {
        this.peopleSex = peopleSex;
    }

    public Long getPeopleSex() 
    {
        return peopleSex;
    }
    public void setPeopleBirth(String peopleBirth) 
    {
        this.peopleBirth = peopleBirth;
    }

    public String getPeopleBirth() 
    {
        return peopleBirth;
    }
    public void setPeopleAddress(String peopleAddress) 
    {
        this.peopleAddress = peopleAddress;
    }

    public String getPeopleAddress() 
    {
        return peopleAddress;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setPoints(String points) 
    {
        this.points = points;
    }

    public String getPoints() 
    {
        return points;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("openId", getOpenId())
            .append("unionId", getUnionId())
            .append("openNick", getOpenNick())
            .append("openAvatarUrl", getOpenAvatarUrl())
            .append("name", getName())
            .append("mobile", getMobile())
            .append("peopleCard", getPeopleCard())
            .append("peopleSex", getPeopleSex())
            .append("peopleBirth", getPeopleBirth())
            .append("peopleAddress", getPeopleAddress())
            .append("level", getLevel())
            .append("points", getPoints())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
